<meta charset="utf-8">
<?php
include("CommonModel.php");
class JobwantedModel extends CommonModel{
	public function __construct($host,$name,$password,$dbname){
		parent::__construct($host,$name,$password,$dbname);
	}

	public function getJobwantedinfos($jobid){
		$jobwantedinfossql="select * from jobwanted where jobid={$jobid}";
		$result=@mysql_query($jobwantedinfossql) or die("查询求职意向信息失败：".mysql_error()."<br/>");
		$row=mysql_fetch_object($result);
		return $row;
	}

	public function __destruct(){
		parent::__destruct();
	}
}

include("inc.php");
$liuzhaohong=new JobwantedModel($dbhost,$dbuser,$dbpassword,$dbname);
?>